package com.yunxi.customer.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 客户流量
 * </p>
 *
 * @author 
 * @since 2019-08-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CustomerFlow对象", description="客户流量")
public class CustomerFlowVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    private String customerFlowId;

    @ApiModelProperty(value = "渠道商编号")
    private String partnerCode;

    @ApiModelProperty(value = "到店类型")
    private Integer comeType;

    @ApiModelProperty(value = "到店人数")
    private Integer comeNum;

    @ApiModelProperty(value = "到店时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date comeTime;

    @ApiModelProperty(value = "离店时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date leaveTime;

    @ApiModelProperty(value = "销售顾问编号")
    private String salesConsultantNo;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "型谱15位码")
    private String vehicleCode;

    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "渠道商名称")
    private String partnerName;

    @ApiModelProperty(value = "销售顾问名称")
    private String salesConsultantName;
}
